class Shuixianhua {
    public static void main(String[] args) {
        for(int a = 200;a < 1000;a++){
			int bai = a / 100;
			int shi = a % 100 / 10;
			int ge = a % 100 % 10;
			if((bai * bai * bai + shi * shi * shi + ge * ge * ge)== a){
				System.out.println("水仙花数为---->" + a);
			}


		}
    }
}